import modelAbstract from "./modelAbstract";
import {image} from '../service/images'
import boss from "../canvas/boss";
import config from "../../config";

export default class extends modelAbstract implements IModel{
  canvas: ICanvas = boss
  name: string = 'boss'
  render(): void {
    super.draw()
  }
  image(): HTMLImageElement {
    return image.get(this.name as keyof typeof config.images)!
  }
}
